/**
 * 属性表单配置
 * ***/
var FORMCFG = {
    page: `<div id="k_paper_form" class="k_flex_form">
            <div class="k_flex_form_row">
                <div class="k_flex_form_col">
                    <div class="k_flow_form_item">
                        <label>纸张大小:</label>
                        <span>
                            <select id="pageType" name="pageType">
                                <option selected="selected" value="794*1123">A4(竖版)</option>
                                <option value="1123*794">A4(横版)</option>
                                <option value="1123*1587">A3(竖版)</option>
                                <option value="1587*1123">A3(横版)</option>
                                <option value="">自定义</option>
                            </select>
                        </span>
                    </div>
                    <div class="k_flow_form_item">
                        <label>宽:</label> <span><input id="pageWidth" name="pageWidth"
                            class="k_prp_f_input" value="794" type="text"></span>
                    </div>
                    <div  class="k_flow_form_item">
                            <label>高:</label> <span><input id="pageHeight" name="pageHeight"
                                class="k_prp_f_input" value="794" type="text"></span>
                    </div>                    
                </div>   
            </div>
            <div class="k_flex_form_row">
                <div class="k_flex_form_col">
                    <div class="k_flow_form_item">
                        <label>上边距:</label> <span><input id="paddingTop" name="paddingTop"
                            value="100" type="text" class="k_prp_f_input"></span>
                    </div>
                    <div class="k_flow_form_item">
                        <label>下边距:</label> <span><input id="paddingBottom" name="paddingBottom"
                            value="100" type="text" class="k_prp_f_input"></span>
                    </div>
                </div>    
            </div>
            <div class="k_flex_form_row">
                <div class="k_flex_form_col">
                    <div class="k_flow_form_item">
                        <label>右边距:</label> <span><input id="paddingRight" name="paddingRight"
                            value="120" type="text" class="k_prp_f_input"></span>
                    </div>
                    <div class="k_flow_form_item">
                        <label>左边距:</label> <span><input id="paddingLeft" name="paddingLeft"
                            value="120" type="text" class="k_prp_f_input"></span>
                    </div>
                </div>    
            </div>
            <div class="k_flex_form_row">
                <div class="k_flex_form_col">
                    <div class="k_flow_form_item">
                        <label>页眉/页脚:</label>
                        <span class="k_prp_block_btn" id="editing_top" tip_lbl="编辑页眉">
                            <i class="fa fa-doc"></i>
                            <span style="top:6px;left:0" class="k_prp_page_h_b"></span>
                        </span>
                        <span class="k_prp_block_btn" id="editing_bottom" tip_lbl="编辑页脚">
                            <i class="fa fa-doc"></i>
                            <span style="bottom: 4px; left:2px;width:16px;" class="k_prp_page_h_b"></span>
                        </span>
                    </div>
                </div>
            </div>           
        </div> `,
    graph:`<div id="k_graph_form" class="k_flex_form">
        <div class="k_flex_form_row">
            <div class="k_flex_form_col">
                <div class="k_flow_form_item">
                    <label>缩进:</label> <span><input id="indent" name="indent" value="120" type="text"  class="k_prp_f_input"></span>
                </div>
                <div class="k_flow_form_item">
                    <label style='display:inline-block;width:34px;'>行高:</label>                     
                </div>
                <div class="k_flow_form_item">
                    <span>
                        <select id="plineHeightOpt">
                            <option name="line-height" value="1.5">单倍</option>
                            <option name="line-height" value="1.8">1.5倍</option>
                            <option name="line-height" value="2">双倍</option>
                            <option name="line-height" value="2.5">高倍</option>
                            <option value="">自定义</option>
                        </select>
                    </span>
                    <span><input id="plineHeight" name="plineHeight" value="" type="text" class="k_prp_f_input"></span>
                </div>
            </div>
        </div>
        <div class="k_flex_form_row">
            <div class="k_flex_form_col">
                <div class="k_flow_form_item">
                    <label  style='display:inline-block;width:34px;'>边距:</label>
                </div>
                <div class="k_flow_form_item"><label>上</label><span><input id="ppadingTop" type="text" value="0" class="k_prp_f_input k_prp_w_5"/></span></div>
                <div class="k_flow_form_item"><label>下</label><span><input id="ppadingBottom" type="text"  value="0" class="k_prp_f_input k_prp_w_5"/></span></div>
            
            </div>
            <div class="k_flex_form_col">                   
                <div class="k_flow_form_item"><label>左</label><span><input id="ppadingLeft" type="text"  value="0" class="k_prp_f_input k_prp_w_5"/></span></div>
                <div class="k_flow_form_item"><label>右</label><span><input id="ppadingRight" type="text"  value="0" class="k_prp_f_input k_prp_w_5"/></span></div>
            </div>
        </div>
        <div class="k_flex_form_row">
            <div class="k_flex_form_col">
                <div class="k_flow_form_item">
                    <label  style='display:inline-block;width:63px;'>边框类型:</label>
                </div>
                <div class="k_flow_form_item">
                    <span>
                        <select id="pborderStyle" style="width:60px;"><option selected="selected" value="solid">实线</option><option value="dotted">点状线</option><option value="dashed">长点状线</option></select>
                    </span>
                </div>
                <div class="k_flex_form_col">
                    <div class="k_flow_form_item">
                        <label  style='display:inline-block;width:63px;'>边框大小:</label>
                    </div>
                    <div class="k_flow_form_item">
                        <input id="pborderSize" style="width: 60px;" value="0" placeholder="0" type="text" class="k_prp_f_input"/>
                    </div>                   
                </div>
            </div>
        </div>
        <div class="k_flex_form_row">
            <div class="k_flex_form_col">
                <div class="k_flow_form_item">
                    <label  style='display:inline-block;width:63px;'>边框位置:</label>
                </div>
                <div class="k_flow_form_item">
                    <span id="graph_border_wap" style="padding-top:5px;display:inline-block;">
                        <span class="_border_pos" v="left" tip_lbl="左边框" style="border-width: 1px 1px 1px 2px; border-style: dashed dashed dashed solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(204, 204, 204) rgb(0, 0, 255); border-image: initial; cursor: pointer; display: inline-block; width: 15px; height: 15px; margin-right: 8px; background-color: transparent;"></span>
                        <span class="_border_pos" v="top" tip_lbl="上边框" style="border-width: 2px 1px 1px; border-style: solid dashed dashed; border-color: rgb(0, 0, 255) rgb(204, 204, 204) rgb(204, 204, 204); border-image: initial; cursor: pointer; display: inline-block; width: 15px; height: 15px; margin-right: 8px; background-color: transparent;"></span>
                        <span class="_border_pos" v="right"  tip_lbl="右边框"  style="border-width: 1px 2px 1px 1px; border-style: dashed solid dashed dashed; border-color: rgb(204, 204, 204) rgb(0, 0, 255) rgb(204, 204, 204) rgb(204, 204, 204); border-image: initial; cursor: pointer; display: inline-block; width: 15px; height: 15px; margin-right: 8px; background-color: transparent;"></span>
                        <span class="_border_pos" v="bottom"  tip_lbl="下边框"  style="border-width: 1px 1px 2px; border-style: dashed dashed solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(0, 0, 255); border-image: initial; cursor: pointer; display: inline-block; width: 15px; height: 15px; margin-right: 8px; background-color: transparent;"></span>
                    </span>
                </div>
            </div>
        </div>
        <div class="k_flex_form_row">
            <div class="k_flex_form_col">
                <div class="k_flow_form_item">
                    <label  style='display:inline-block;width:63px;'>颜色:</label>
                </div>
                <div id="graph_colors" class="k_flow_form_item">
                    <span tip_lbl="边框颜色" class="k_graphcolor k_box_size grh_border_color"><i class="fa fa-brush"></i></span>
                    <span tip_lbl="背景颜色" class="k_graphcolor k_box_size grh_bg_color"><i class="fa fa-pencil-1"></i></span>
                    <span tip_lbl="字体颜色" class="k_graphcolor k_box_size grh_font_color"><i class="fa fa-font-1"></i></span>
                </div>            
            </div>
        </div>
    </div>`,
    image:``
};